﻿using System;

namespace Macds.Core.Mapping
{
    [AttributeUsage(AttributeTargets.Property)]
    public class QueryStringAttribute : Attribute
    {
        public string name;
        public int position;
        public bool optional;

        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }

        public int Position
        {
            get { return this.position; }
            set { this.position = value; }
        }

        public bool Optional
        {
            get { return this.optional; }
            set { this.optional = value; }
        }
    }
}
